<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<!--主体内容区-->
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Expires" content="0"/>
    <link rel="shortcut icon" type="image/x-icon" th:href="@{/static/favicon.ico}">
    <title>护理项目</title>
    <link rel="stylesheet" th:href="@{/static/plugins/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/static/css/layout.css}">
    <link rel="stylesheet" th:href="@{/static/css/common.css}">
    <link rel="stylesheet" th:href="@{/static/css/jquery.pageslide.css}">
    <style>
        .imgSize {
            border-radius: 50%;
            width: 100px;
            height: 100px;
        }
    </style>
</head>
<body>

<div class="layui-container">
    <form class="layui-form ">
        <div style="display: flex;flex-wrap: wrap;justify-content: center;">
            <div th:if="!${#lists.isEmpty(items)}" th:each="items:${items}" style="text-align: center;width:100px;padding:15px 20px 0;">
                <a href="javascript:void(0)">
                    <div class="layui-form-item">
                        <img class="imgSize" th:if="${items.itemImg==null or items.itemImg==''}"
                             src='/static/imgs/services1.png'>
                        <img class="imgSize" th:if="${items.itemImg!=null && items.itemImg!=''}"
                             th:src="@{'/storage/files/'+${items.itemImg}}">
                    </div>
                    <div>
                        <div class="layui-input-inline">
                            <input type="checkbox" name="type" th:value="${items.type+'@'+items.id}" th:title="${items.name}"
                                   lay-filter="checked" lay-skin="primary">
                        </div>
                    </div>
                </a>
            </div>
            <div th:if="${#lists.isEmpty(items)}" class="layui-row layui-col-lg3 layui-col-sm6 layui-col-xs12 layui-col-md3">
                <div class="layui-form-item" style="margin-left: 110px;margin-top: 210px;">
                    <div class="layui-input-block">
                        <span>当前老人护理级别下未关联护理项目</span>
                    </div>
                </div>
            </div>
        </div>
        <div th:if="!${#lists.isEmpty(items)}" class="layui-form-item" style="margin-top: 15px;">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="sub" id="sub">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary" id="cz">重置</button>
            </div>
        </div>
    </form>

    <a href="#modal"  id="showsild"  style="display: none" class="second"></a>
    <div id="modal" style="display:none">
        <form  class="healthDatabox">

        </form>
    </div>


</div>

<script th:src="@{/static/plugins/jquery.js}"></script>
<script th:src="@{/static/plugins/layui/layui.js}"></script>
<script th:src="@{/static/js/common.js}"></script>
<script th:src="@{/static/js/services/records/mealItems.js}"></script>
<script th:src="@{/static/plugins/jquery.pageslide.min.js}"></script>

</body>

</html>